/*
 *@(#)Users.java 1.0 Feb 18, 2008
 *Copyright Fution Bai
 *
 */
package codebush.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * entity for the users table 
 * @author Fution Bai
 * @since 1.0
 */
public class Users implements Serializable {

	private static final long serialVersionUID = -789499205553816552L;
	private int id;
	private String email;
	private String password;
	private String name;
	private String enabled;
	private Date signup_time;
	private Date last_view_time;
	private boolean sex; //true male, false female
	private String current_place;

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	public String getCurrent_place() {
		return current_place;
	}

	public void setCurrent_place(String current_place) {
		this.current_place = current_place;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public Date getSignup_time() {
		return signup_time;
	}

	public void setSignup_time(Date signup_time) {
		this.signup_time = signup_time;
	}

	public Date getLast_view_time() {
		return last_view_time;
	}

	public void setLast_view_time(Date last_view_time) {
		this.last_view_time = last_view_time;
	}

}
